package com.dream.cgomall.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * (CgoRole)实体类
 *
 * @author makejava
 * @since 2021-07-02 11:16:19
 */
@Data
public class CgoRole implements Serializable {
    private static final long serialVersionUID = 939378280205495798L;

    private Integer id;
    /**
     * 用户Id
     */
    private Integer userId;
    /**
     * 权限
     */
    private String role;
    /**
     * 权限说明
     */
    private String desc;

    public CgoRole() {
    }

    public CgoRole(Integer userId, String role, String desc) {
        this.userId = userId;
        this.role = role;
        this.desc = desc;
    }
}
